package com.xyht.sca_s.student_manage_system.modules.stampManagement.entity.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 印章使用记录表
 * </p>
 *
 * @author XYHT
 * @since 2023-05-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_stamp_management")
@ApiModel(value="SmsStampManagement对象", description="印章管理")
public class SmsStampAddDto implements Serializable {
    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "印章名")
    @NotNull
    private String stampName;

    @ApiModelProperty(value = "印章类型：1.私人印章 2.组织印章")
    @Max(2)
    @Min(1)
    @NotNull
    private Integer stampType;

    @ApiModelProperty(value = "印章描述")
    @NotNull
    private String stampDescription;

    @ApiModelProperty(value = "电子印章")
    @NotNull
    private String electronicStamp;
}
